var t = require("./service.js");

exports.doGetUrl = function(r, e, o) {
    return t.http.get(r, {
        params: e,
        custom: o
    });
}, exports.doPostUrl = function(r, e, o, a) {
    return t.http.middleware({
        method: "POST",
        url: r,
        data: e,
        params: o,
        custom: a
    });
}, exports.doUploadUrl = function(r, e, o, a) {
  // console.log(r, e, o, a)
    return t.http.upload(r, {
        params: a,
        filePath: o,
        name: e
    });
};